Skip to content

[BEAM-4776] make AutoValues for MetricResults, MetricQueryResults - #7621

Merged
tweise merged 2 commits into
apache:masterfrom
ryan-williams:autovalues
Jan 28, 2019
Merged

tweise merged 2 commits into
apache:masterfrom
ryan-williams:autovalues

Conversation

@ryan-williams

Copy link
Copy Markdown
Contributor

… and remove duplicated implementations from direct and direct/portable runners

This is an early bit of cleanup that came out of work I'm doing to plumb metrics over the job API (cf. BEAM-4776). In later work I re-use these same concrete @AutoValue classes a third time.

R: @mxm, @ajamato
CC: @youngoli

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- --- --- --- ---
Java Build Status Build Status Build Status Build Status
Build Status
Build Status
Build Status Build Status Build Status
Python Build Status --- Build Status
Build Status
--- --- --- ---

@mxm mxm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@tweise
tweise merged commit 11baa1e into apache:master Jan 28, 2019
@ryan-williams
ryan-williams deleted the autovalues branch January 28, 2019 03:52
/** Return the metric results for the counters that matched the filter. */
Iterable<MetricResult<Long>> getCounters();
public abstract class MetricQueryResults {
/** Return the metric results for the getCounters that matched the filter. */

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just noticed this getCounters comment typo (and similar below); I put a fix here in #7641 for now: 6a21a6b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants